<%@ page language="java" contentType="text/html;charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/core/taglibs2.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/core/adminTopMeta.jsp"%>
<script type="text/javascript">
 
	
	function nameChange(){
		
		var loginName=$("#loginName").val(); 		
		 
		$.getJSON("<%=basePath%>/admin/wealth/ajaxGetMemberByName.shtml",{loginName: loginName},function(result){	 
			 
			//填入新值
			if(result.success==true){
				
				$("#personName").html("代理商电话:"+result.member.tel+"，级别："+result.title);
			}else{
				 
				$("#personName").html("<b  style='color: red;'>代理商不存在</b>");
			} 
		});
		 
		
	}
</script>  
 
</head>

<body oncontextmenu="return false"><div class="loader"></div>
 										
	<div class="row">
		<div class="col-md-12">
			<div class="panel">
				<div class="panel-heading text-primary">
					<h3 class="panel-title">
						<i class="fa fa-cogs"></i> 代理参数修改
						<span class="pull-right">
							<div class="btn-group code">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown"
									title="Classes used"> 
								</a>
							</div> 
						</span>
					</h3>
				</div>

				<!-- /panel body -->
			</div>
		</div>

		<div class="col-md-12">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title  text-white" style="font-size: 17px;">
						代理参数修改
					</h3>
				</div>
				<div class="panel-body">
					<form id="commitForm" name="commitForm"  method="post" action="admin/member/dailiUpdate.shtml">
					<jodd:form scopes="request" beans="daili">
						<input type="hidden" name="id" id="id"/>	 
						<table class="table table-bordered table-hover table-striped display" id="example">

							<tbody>

								 
								<tr>
									<td style="width: 20%;text-align: right;">名称</td>
									<td><input type="text" id="title" name="title" class="form-control form-cascade-control"/></td>
								</tr>
								<tr>
									<td style="text-align: right;" >投资额</td>
									<td ><input type="text" id="payNum" name="payNum" class="form-control form-cascade-control"/></td>
								</tr>
								
								<tr>
									<td style="text-align: right;" >直推奖百分数</td>
									<td ><input type="text" id="zhiTui" name="zhiTui" class="form-control form-cascade-control"/></td>
								</tr>

								<tr>
									<td style="text-align: right;" >间推奖百分数</td>
									<td ><input type="text" id="jianTui" name="jianTui" class="form-control form-cascade-control"/></td>
								</tr>

								<tr>
									<td style="text-align: right;" >对碰奖百分数</td>
									<td ><input type="text" id="duiPeng" name="duiPeng" class="form-control form-cascade-control"/></td>
								</tr>
								
								<tr>
									<td style="text-align: right;" >对碰奖日封顶</td>
									<td ><input type="text" id="duiFeng" name="duiFeng" class="form-control form-cascade-control"/></td>
								</tr>


								<tr>
									<td style="text-align: right;" >幸运见点奖</td>
									<td ><input type="text" id="jianDian" name="jianDian" class="form-control form-cascade-control"/></td>
								</tr>

								<%--<tr>--%>
									<%--<td style="text-align: right;" >推荐人数</td>--%>
									<%--<td ><input type="text" id="num" name="num" class="form-control form-cascade-control"/></td>--%>
								<%--</tr>--%>

								<tr>
									<td style="text-align: right;" >业绩</td>
									<td ><input type="text" id="yeJi" name="yeJi" class="form-control form-cascade-control"/></td>
								</tr>

								<tr>
									<td style="text-align: right;" >业绩不足的见点奖层数</td>
									<td ><input type="text" id="unJianDianCeng" name="unJianDianCeng" class="form-control form-cascade-control"/></td>
								</tr>

								<tr>
									<td style="text-align: right;" >幸运见点奖层数</td>
									<td ><input type="text" id="jianDianCeng" name="jianDianCeng" class="form-control form-cascade-control"/></td>
								</tr>

								<tr>
									<td style="text-align: right;">安全密码：</td>
									<td>
										<input type="password" id="myTwoPassword" class="form-control form-cascade-control" name="myTwoPassword" />
									</td>
								</tr>
								<tr>
									<td colspan="2">
										<div style="color: red;text-align:center;">
											<div style="color:red;text-align:center">
												${retMsg}
											</div>
										</div>
									</td>
								</tr>
								<tr>
									<td colspan="2" style="text-align: center;">
										<button type="submit" class="btn btn-success "> 提 交 </button>
										<button type="reset" class="btn btn-warning"> 重 置 </button>
									</td>
								</tr>

							</tbody>


						</table>
					</jodd:form>	 
					</form>
				</div>
			</div>
			<!-- / Info Panel -->

		</div>

		<!-- /col-md-12 -->
	</div>
	<!--代码高亮end-->


	
</body>
</html>